package android.rockchip.update.utils;

import java.io.File;
import java.text.DecimalFormat;

public class Utils implements Constants {

    public final static String TAG = "Utils";

    private static DecimalFormat decimalFormat = new DecimalFormat("##0.#");

    static {
        decimalFormat.setMaximumIntegerDigits(3);
        decimalFormat.setMaximumFractionDigits(1);
    }

    public static void deleteFile(File file) {
        Tools.shell("rm -f " + file.getAbsolutePath(), false);
    }

}
